/*
 * @Descripttion: 
 * @version: @ 1.0.0
 * @Author: 朱江洲
 * @Date: 2021-10-13 09:56:30
 * @LastEditors: 朱江洲
 * @LastEditTime: 2021-10-13 15:18:02
 */
import request from "@/utils/request.js";
// 绑定服务商
export const relate = params => {
    return request({
        method: 'get',
        url: '/personal/accountManage/relate',
        params
    })
}

// 获取服务商列表
export const getList = params => {
    return request({
        method: 'get',
        url: '/personal/accountManage/list',
        params
    })
}

// 获取个人信息
export const getInfo = params => {
    return request({
        method: 'get',
        url: '/personal/accountManage/info',
        params
    })
}
// 解绑
export const unRelate = params => {
    return request({
        method: 'get',
        url: '/personal/accountManage/unRelate',
        params
    })
}
// 修改手机号
export const updatePhone = params => {
    return request({
        method: 'get',
        url: '/personal/accountManage/updatePhone',
        params
    })
}
// 验证验证码
export const check = params => {
    return request({
        method: 'get',
        url: '/personal/accountManage/check',
        params
    })
}

// 获取验证码
export const getCode = params => {
    return request({
        method: 'get',
        url: '/personal/accountManage/getCode',
        params
    })
}

// 确认修改密码
export const updatePassword = params => {
    return request({
        method: 'get',
        url: '/personal/accountManage/updatePassword',
        params
    })
}

// 修改昵称
export const updateNickName = params => {
    return request({
        method: 'get',
        url: '/personal/accountManage/updateNickName',
        params
    })
}





